.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: #393c6d;

  .content {
    display: flex;
    justify-content: center;
    width: 100%;

    .form {
      width: 500px;
      background: #ffffff;
      border: 1px solid #f0f0f0;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;

      &:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      }

      :global {
        .ant-card-body {
          padding: 40px;
        }

        .ant-pro-form {
          width: 100%;
        }

        .ant-form-item {
          margin-bottom: 20px;
        }

        .ant-btn-primary {
          height: 42px;
          font-weight: 500;
          font-size: 16px;
          background: #1890ff !important;
          border: none;
          border-radius: 4px;
          transition: all 0.3s ease;

          &:hover {
            background: #40a9ff !important;
          }

          &:active {
            background: #096dd9 !important;
          }
        }

        .ant-tabs-nav::before {
          display: none;
        }

        .ant-input-affix-wrapper {
          padding: 8px 16px;
          border: 1px solid #d9d9d9;
          border-radius: 4px;
          transition: all 0.3s ease;

          &:hover,
          &-focused {
            border-color: #1890ff !important;
            box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1) !important;
          }
        }
      }
    }
  }
}

.loginHeader {
  margin-bottom: 36px;
  text-align: center;

  h1 {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 28px;
  }

  p {
    color: #666;
    font-size: 16px;
  }
}

.loginTabs {
  :global {
    .ant-tabs-nav {
      margin-bottom: 30px;
    }

    .ant-tabs-tab {
      padding: 12px 24px;
      font-size: 16px;
      transition: all 0.3s;

      &:hover {
        color: #1890ff;
      }
    }

    .ant-tabs-tab-active {
      .ant-tabs-tab-btn {
        color: #1890ff !important;
        font-weight: 500;
      }
    }

    .ant-tabs-ink-bar {
      height: 2px;
      background: #1890ff;
    }
  }
}

.formSelect {
  margin-bottom: 20px !important;

  :global {
    .ant-input {
      font-size: 15px;

      &::placeholder {
        color: #999;
      }
    }

    .ant-input-prefix {
      margin-right: 12px;
      color: #999;
      font-size: 18px;
    }
  }
}

.verifyCodeWrapper {
  display: flex;
  align-items: stretch;
  margin-bottom: 8px;

  .codeInput {
    flex: 1;
    margin-right: 16px;
    margin-bottom: 0 !important;

    :global {
      .ant-input-affix-wrapper {
        display: flex;
        align-items: center;
        height: 42px;
      }
    }
  }

  .verifyCodeLink {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 42px;
    padding: 0 24px;
    color: #1890ff !important;
    font-size: 15px;
    white-space: nowrap;
    background: #f0f8ff !important;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    &:hover:not(.disabled) {
      background: #e6f7ff !important;
      border-color: #1890ff;
    }

    &.disabled {
      color: #999;
      background: #f5f5f5;
      border-color: #d9d9d9;
      cursor: not-allowed;
    }
  }
}

.registerLink {
  color: #1890ff;
  font-size: 15px;
  transition: all 0.3s;

  &:hover {
    color: #40a9ff;
    text-decoration: none;
  }
}
